package com.hc.acoustics.base

import com.yc.yclibrary.base.YcAppCompatActivity
import kotlinx.android.synthetic.main.actionbar_layout.*

/**
 *
 */
abstract class BaseActivity : YcAppCompatActivity() {
    override fun getActivity(): BaseActivity = this
    fun setActionBar(title: String?) {
        actionbarMidTv.text = title
        actionbarLeftIv.setOnClickListener { finish() }
    }
}